<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // var names = 'zhangsan';
        // var names1 = names;

        // console.log(names);
        // console.log(names1);

        // var num1 = 1000;

        // var num3 = num2 = num1;
        // console.log(num1,num2,num3);


        // 支持传递赋值  


        // 箱子中的值相互交换  



        // var box1 = '可乐';
        // var box2 = '雪碧';
        // var box3 = box1;
        // box1 = box2;  // box1 原来是可乐 我把雪碧给到box1 于是可乐被替换掉  
        // // box1就变成了 雪碧 
        // box2 = box3; // box2原来是雪碧 box3是可乐 雪碧被替换成可乐 
        // // box2 最终 是可乐 



        //https://pythontutor.com/javascript.html#mode=edit  

        





    </script>
</body>
</html>